package me.gacl.websocket;

/**
 * Created by 孤傲苍狼 on 2016/2/21.
 */
public class Const {

    /**
     * 定义Websocket服务器端和客户端的通信消息类型
     * 消息数据以Json的形式传输
     */
    public static final class StringWebsocketMessageType{
        public static final String DATA_MESSAGE = "data";//数据消息
        public static final String TEXT_MESSAGE = "text";//文本消息
        public static final String NOTICE_MESSAGE = "notice";//通知消息
        public static final String ACTION_MESSAGE = "action";//动作消息
        public static final String SYS_MESSAGE = "sys";//系统消息
    }
}
